package com.wanfeng.common;

public enum ResultCode {

    //1.枚举类对象
    RESULT_CODE_FAIL(201),
    RESULT_CODE_SUCCESS(200);
    
    //2.枚举类属性

    //3.私有化构造器
     private  final  Integer code;


     private  ResultCode(Integer code){
        this.code=code;
    }
}
